import { get, post } from '@/utils/axios'

// 登录信息
export const getUserInfo= (userId) => get('/my/userinfo',userId)


//修改密码

export const changeUserPassword= (params) => post('/my/updatepwd',params)


//修改用户信息
export const changeUserInfo= (params) => post('/my/userRinfo',params)



// `/coupon/getUserCoupon
export const getUserCoupon= (userId) => get('/coupon/getUserCoupon',userId)